package com.example.javatwo.pojo.cg.wmj;

import java.sql.Date;
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 采购退货实体类--主
 * @author Administrator
 *
 */
public class PurchaseReturn {
	private String billNo;
	private String custNo;//（外键）供应商编号
	private String custName;//供应商
	private String addrId;// 供应商地址id-----------------------------
	private String custAddress;//供应商地址Name
	private String priceoftax;//单价是否含税（是/否）
	private String wareId;//-- 仓库ID------------------------
	private String wareName;//-- 仓库Name
	private String isDeduct ;//是否重新入库（是/否）
	private String coucherno ;//-- 凭证单号
	private Date billDate;//-- 单据日期
	private String currId ;//-- 币别
	private Double exchRate;//-- 汇率
	private String hasForeignTrade ;//-- 国外贸易	
	private String salesNo ;//-- 采购人员编号----------------------------------
	private String salesName ;//-- 采购人员
	private String departName ;//-- 所属部门
	private String projectName ;//-- 所属项目
	private String maker ;//-- 制单人员
	private String permitter ;//- 复核人员
	private int sumNum;// 总数量
	private Double total ;//-- 总金额
	private Double tax ;//-- 总税额
	private Double sumAmtATax ;//-- 含税总金额
	private String billStatus ;//-- 状态（已审核/未审核）
	private String isDelete ;//-- 被删除状态(是/否)
	private String remarks ;//-- 备注
	private String uDef1 ;//-- 自定义栏一
	private String uDef2 ;//-- 自定义栏二
	private String dueto ;//-- 账款归属
	private Date prepayDay ;//-- 付款日期
	private int gatherDalay ;//-- 付款天数
	private String gatherStyle ;//-- 付款条件
	private String accMoth ;// -- 账款月份
	private String undefinedA ;//-- 未定义字段
	private String undefinedB ;//-- 未定义字段
	private String undefinedC;
	
	
	private List<PurchaseReturnInfo> info = new ArrayList<PurchaseReturnInfo>();
	
	public List<PurchaseReturnInfo> getInfo() {
		return info;
	}
	public void setInfo(List<PurchaseReturnInfo> info) {
		this.info = info;
	}
	public String getBillNo() {
		return billNo;
	}
	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}
	public String getCustNo() {
		return custNo;
	}
	public void setCustNo(String custNo) {
		this.custNo = custNo;
	}
	public String getCustName() {
		return custName;
	}
	public void setCustName(String custName) {
		this.custName = custName;
	}
	public String getAddrId() {
		return addrId;
	}
	public void setAddrId(String addrId) {
		this.addrId = addrId;
	}
	public String getCustAddress() {
		return custAddress;
	}
	public void setCustAddress(String custAddress) {
		this.custAddress = custAddress;
	}
	public String getPriceoftax() {
		return priceoftax;
	}
	public void setPriceoftax(String priceoftax) {
		this.priceoftax = priceoftax;
	}
	public String getWareId() {
		return wareId;
	}
	public void setWareId(String wareId) {
		this.wareId = wareId;
	}
	public String getWareName() {
		return wareName;
	}
	public void setWareName(String wareName) {
		this.wareName = wareName;
	}
	public String getIsDeduct() {
		return isDeduct;
	}
	public void setIsDeduct(String isDeduct) {
		this.isDeduct = isDeduct;
	}
	public String getCoucherno() {
		return coucherno;
	}
	public void setCoucherno(String coucherno) {
		this.coucherno = coucherno;
	}
	public Date getBillDate() {
		return billDate;
	}
	public void setBillDate(Date billDate) {
		this.billDate = billDate;
	}
	public String getCurrId() {
		return currId;
	}
	public void setCurrId(String currId) {
		this.currId = currId;
	}
	public Double getExchRate() {
		return exchRate;
	}
	public void setExchRate(Double exchRate) {
		this.exchRate = exchRate;
	}
	public String getHasForeignTrade() {
		return hasForeignTrade;
	}
	public void setHasForeignTrade(String hasForeignTrade) {
		this.hasForeignTrade = hasForeignTrade;
	}
	public String getSalesNo() {
		return salesNo;
	}
	public void setSalesNo(String salesNo) {
		this.salesNo = salesNo;
	}
	public String getSalesName() {
		return salesName;
	}
	public void setSalesName(String salesName) {
		this.salesName = salesName;
	}
	public String getDepartName() {
		return departName;
	}
	public void setDepartName(String departName) {
		this.departName = departName;
	}
	public String getProjectName() {
		return projectName;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	public String getMaker() {
		return maker;
	}
	public void setMaker(String maker) {
		this.maker = maker;
	}
	public String getPermitter() {
		return permitter;
	}
	public void setPermitter(String permitter) {
		this.permitter = permitter;
	}
	public int getSumNum() {
		return sumNum;
	}
	public void setSumNum(int sumNum) {
		this.sumNum = sumNum;
	}
	public Double getTotal() {
		return total;
	}
	public void setTotal(Double total) {
		this.total = total;
	}
	public Double getTax() {
		return tax;
	}
	public void setTax(Double tax) {
		this.tax = tax;
	}
	public Double getSumAmtATax() {
		return sumAmtATax;
	}
	public void setSumAmtATax(Double sumAmtATax) {
		this.sumAmtATax = sumAmtATax;
	}
	public String getBillStatus() {
		return billStatus;
	}
	public void setBillStatus(String billStatus) {
		this.billStatus = billStatus;
	}
	public String getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public String getuDef1() {
		return uDef1;
	}
	public void setuDef1(String uDef1) {
		this.uDef1 = uDef1;
	}
	public String getuDef2() {
		return uDef2;
	}
	public void setuDef2(String uDef2) {
		this.uDef2 = uDef2;
	}
	public String getDueto() {
		return dueto;
	}
	public void setDueto(String dueto) {
		this.dueto = dueto;
	}
	public Date getPrepayDay() {
		return prepayDay;
	}
	public void setPrepayDay(Date prepayDay) {
		this.prepayDay = prepayDay;
	}
	public int getGatherDalay() {
		return gatherDalay;
	}
	public void setGatherDalay(int gatherDalay) {
		this.gatherDalay = gatherDalay;
	}
	public String getGatherStyle() {
		return gatherStyle;
	}
	public void setGatherStyle(String gatherStyle) {
		this.gatherStyle = gatherStyle;
	}
	public String getAccMoth() {
		return accMoth;
	}
	public void setAccMoth(String accMoth) {
		this.accMoth = accMoth;
	}
	public String getUndefinedA() {
		return undefinedA;
	}
	public void setUndefinedA(String undefinedA) {
		this.undefinedA = undefinedA;
	}
	public String getUndefinedB() {
		return undefinedB;
	}
	public void setUndefinedB(String undefinedB) {
		this.undefinedB = undefinedB;
	}
	public String getUndefinedC() {
		return undefinedC;
	}
	public void setUndefinedC(String undefinedC) {
		this.undefinedC = undefinedC;
	}
	public PurchaseReturn() {
		super();
	}
	
	public PurchaseReturn(String billNo, String custNo, String custName, String addrId, String custAddress,
			String priceoftax, String wareId, String wareName, String isDeduct, String coucherno, Date billDate,
			String currId, Double exchRate, String hasForeignTrade, String salesNo, String salesName, String departName,
			String projectName, String maker, String permitter, int sumNum, Double total, Double tax, Double sumAmtATax,
			String billStatus, String isDelete, String remarks, String uDef1, String uDef2, String dueto,
			Date prepayDay, int gatherDalay, String gatherStyle, String accMoth) {
		super();
		this.billNo = billNo;
		this.custNo = custNo;
		this.custName = custName;
		this.addrId = addrId;
		this.custAddress = custAddress;
		this.priceoftax = priceoftax;
		this.wareId = wareId;
		this.wareName = wareName;
		this.isDeduct = isDeduct;
		this.coucherno = coucherno;
		this.billDate = billDate;
		this.currId = currId;
		this.exchRate = exchRate;
		this.hasForeignTrade = hasForeignTrade;
		this.salesNo = salesNo;
		this.salesName = salesName;
		this.departName = departName;
		this.projectName = projectName;
		this.maker = maker;
		this.permitter = permitter;
		this.sumNum = sumNum;
		this.total = total;
		this.tax = tax;
		this.sumAmtATax = sumAmtATax;
		this.billStatus = billStatus;
		this.isDelete = isDelete;
		this.remarks = remarks;
		this.uDef1 = uDef1;
		this.uDef2 = uDef2;
		this.dueto = dueto;
		this.prepayDay = prepayDay;
		this.gatherDalay = gatherDalay;
		this.gatherStyle = gatherStyle;
		this.accMoth = accMoth;
	}
	
	
	
	public PurchaseReturn(String billNo, String custNo, String custName, String addrId, String custAddress,
			String priceoftax, String wareId, String wareName, String isDeduct, String coucherno, Date billDate,
			String currId, Double exchRate, String hasForeignTrade, String salesNo, String salesName, String departName,
			String projectName, String maker, String permitter, int sumNum, Double total, Double tax, Double sumAmtATax,
			String billStatus, String isDelete, String remarks) {
		super();
		this.billNo = billNo;
		this.custNo = custNo;
		this.custName = custName;
		this.addrId = addrId;
		this.custAddress = custAddress;
		this.priceoftax = priceoftax;
		this.wareId = wareId;
		this.wareName = wareName;
		this.isDeduct = isDeduct;
		this.coucherno = coucherno;
		this.billDate = billDate;
		this.currId = currId;
		this.exchRate = exchRate;
		this.hasForeignTrade = hasForeignTrade;
		this.salesNo = salesNo;
		this.salesName = salesName;
		this.departName = departName;
		this.projectName = projectName;
		this.maker = maker;
		this.permitter = permitter;
		this.sumNum = sumNum;
		this.total = total;
		this.tax = tax;
		this.sumAmtATax = sumAmtATax;
		this.billStatus = billStatus;
		this.isDelete = isDelete;
		this.remarks = remarks;
	}
	@Override
	public String toString() {
		return "PurchaseReturn [billNo=" + billNo + ", custNo=" + custNo + ", custName=" + custName + ", addrId="
				+ addrId + ", custAddress=" + custAddress + ", priceoftax=" + priceoftax + ", wareId=" + wareId
				+ ", wareName=" + wareName + ", isDeduct=" + isDeduct + ", coucherno=" + coucherno + ", billDate="
				+ billDate + ", currId=" + currId + ", exchRate=" + exchRate + ", hasForeignTrade=" + hasForeignTrade
				+ ", salesNo=" + salesNo + ", salesName=" + salesName + ", departName=" + departName + ", projectName="
				+ projectName + ", maker=" + maker + ", permitter=" + permitter + ", sumNum=" + sumNum + ", total="
				+ total + ", tax=" + tax + ", sumAmtATax=" + sumAmtATax + ", billStatus=" + billStatus + ", isDelete="
				+ isDelete + ", remarks=" + remarks + ", uDef1=" + uDef1 + ", uDef2=" + uDef2 + ", dueto=" + dueto
				+ ", prepayDay=" + prepayDay + ", gatherDalay=" + gatherDalay + ", gatherStyle=" + gatherStyle
				+ ", accMoth=" + accMoth + ", undefinedA=" + undefinedA + ", undefinedB=" + undefinedB + ", undefinedC="
				+ undefinedC + "]";
	}
	
	
	
}
